* {
    margin: 0;
    padding: 0;
}
body,html{
    width: 100%;
    height: 100%;
}
/*@keyframes background
{
	from {background:red;}
	to {background:yellow;}

}*/
.background {
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;
    animation:background 5s;
    /*设置网页背景*/
    background: linear-gradient(-45deg, #f1eefc 50%, #9dc6ff 50%, #a5bcff);
    /*background: linear-gradient(-45deg, #f1eefc, #9dc6ff 70%, #a5bcff);*/
    /*background: linear-gradient(135deg, #9dc6ff, #6f99fc) ; !*（button背景色）*!*/

    /*background:linear-gradient(to right, #bb313e25,
    #bb313e25, #d7222925, #dd4a1625, #e4761525, #f5c50025,
    #f0e92725, #b1ce2425, #48a93525, #03944525, #157c4f25,
    #176a5825, #1b556325, #1d386f25, #1d386f25, #20277825,
    #52266325, #8a244b25);*/
}

.formdiv {
    left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    width: 340px;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px 0 30px 0;
    position: relative;
}

.title {
    width: 350px;
    margin: 0 auto 0;
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    color: #333;
}

.title p {
    margin: 0;
}

.inputdiv p {
    padding: 5px 0;
    height: 44px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    width: 270px;
    margin: 0 auto 16px;
    line-height: 14px;
    display: block;
    position: relative
}

.inputdiv p label {
    font-size: 14px;
    position: absolute;
    display: inline-block;
    color: #cacaca;
    top: 22px;
}

.inputdiv p input {
    outline: none;
    bottom: 0;
    border: none;
    z-index: 5;
    position: absolute;
    top: 13px;
    width: 270px;
    background-color: transparent;
    font-size: 20px;
}

.inputdiv p span {
    position: absolute;
    color: #ea5d5f;
    font-size: 12px;
    right: 0;
    top: 22px;
    visibility: hidden;
}

.inputdiv button {
    color: #a0a0a0;
    background-color: #e5e5e5;
    width: 270px;
    font-size: 18px;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin: 16px auto 10px;
    display: block;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    user-select: none;

}

.register::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.register {
    width: 270px;
    margin: 0 auto;
    user-select: none;
}

.register a {
    font-size: 12px;
    color: #8d8d8d;
    text-decoration: none;
}


#drag {
    position: relative;
    background-color: #e8e8e8;
    width: 270px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    display: none;
}

#drag .handler {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 34px;
    border: 1px solid #ccc;
    cursor: move;
}

.handler_bg {
    background: #fff url("../myimages/swiperight.png") no-repeat center;
}

.handler_ok_bg {
    background: #fff url("../myimages/checked.png") no-repeat center;
}

#drag .drag_bg {
    background-color: #7ac23c;
    height: 34px;
    width: 0;
}

#drag .drag_text {
    position: absolute;
    top: 0;
    width: 270px;
    user-select: none;
}